package com.weixin.common.core.param;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 公共分页参数
 *
 * @author zh
 * @date 2022/6/17 10:51
 */
@Data
public class PageParam {

    @NotNull(message = "pageNum不能为空")
    private Integer pageNum;

    @NotNull(message = "pageSize不能为空")
    private Integer pageSize;
}
